package entities;

import java.io.Serializable;
import java.sql.Date;

public class PolishFrameEntity implements Serializable {
private int jarNum;
private int pelletescycles;
private int topline;
private Date originalEndDate;		//originalEndDate
private Date EndDate;			//
private Date beginDate;
private long totalDays , extraDays;
private int countToEnd;
private int polishID;



	//Constractor 
	public PolishFrameEntity (int a ,int b , int c , Date d , Date e , int f , int g , int h , Date i,int j)
	{
		jarNum = a;
		pelletescycles = b;
		topline=c;
		originalEndDate=d;
		EndDate=e;
		extraDays=f;
		totalDays=g;	//סה"כ ימי הליטוש שנקבעו בהתחלת הליטוש כולל תוספת זמן
		countToEnd=h;
		beginDate=i;
		polishID=j;
	}
	public PolishFrameEntity() {
		// TODO Auto-generated constructor stub
		
	}
	//Getters
	public int getJarNum()
	{
		return jarNum;
	}
	public int getPelletescycles()
	{
		return pelletescycles;
	}
	public int getTopline()
	{
		return topline;
	}
	public Date getOriginalEndDate()
	{
		return originalEndDate;
	}
	public Date getEndDate()
	{
		return EndDate;
	}
	public long getExtraDays()
	{
		return extraDays; 
	}
	public long getTotalDays()
	{
		return totalDays;
	}
	public int getCountToEnd()
	{
		return countToEnd;
	}
	public int getPolishID()
	{
		return polishID;
	}
	public Date getBeginDate()
	{
		return beginDate;
	}
	//Setters
	public void setJarNum(int a)
	{
		jarNum=a;
	}
	public void setPelletescycles(int a)
	{
		pelletescycles=a;
	}
	public void setTopline(int a)
	{
		topline=a;
	}
	public void setOriginalEndDate(Date a)
	{
		originalEndDate=a;
	}
	public void setEndDate(Date a)
	{
		EndDate=a;
	}
	public void setExtraDays(long a)
	{
		extraDays=a;
	}
	public void setTotalDays(long a)
	{
		totalDays=a;
	}
	public void setCountToEnd(int a)
	{
		countToEnd=a;
	}
	public void setPolishID(int a)
	{
		polishID=a;
	}
	public void setBeginDate(Date a)
	{
		beginDate=a;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	
}
